package com.oracle.lingshangejia.bean;

public class LoginBean {

    /**
     * msg : 操作成功
     * code : 0
     * user : {"userId":3,"username":"18324512460","name":"李四","mobile":null,"status":1,"sex":null,"birth":null,"token":"4603728ee31448febc5ef9a984a21cf9","picUrl":null}
     */

    private String msg;
    private int code;
    private UserBean user;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean {
        /**
         * userId : 3
         * username : 18324512460
         * name : 李四
         * mobile : null
         * status : 1
         * sex : null
         * birth : null
         * token : 4603728ee31448febc5ef9a984a21cf9
         * picUrl : null
         */

        private int userId;
        private String username;
        private String name;
        private Object mobile;
        private int status;
        private Object sex;
        private Object birth;
        private String token;
        private Object picUrl;

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getMobile() {
            return mobile;
        }

        public void setMobile(Object mobile) {
            this.mobile = mobile;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public Object getSex() {
            return sex;
        }

        public void setSex(Object sex) {
            this.sex = sex;
        }

        public Object getBirth() {
            return birth;
        }

        public void setBirth(Object birth) {
            this.birth = birth;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public Object getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(Object picUrl) {
            this.picUrl = picUrl;
        }
    }
}

